package com.ruoyi.develop.orderIronRecordBuy.domain;

import java.math.BigDecimal;
import java.util.List;
import com.ruoyi.develop.orderIronRecord.domain.OrderIronRecord;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 铁件拆解记录与采购单关联对象 order_iron_record_buy
 *
 * @author lmm
 * @date 2025-06-21
 */
public class OrderIronRecordBuy extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * 铁件订单采购id
     */
    @Excel(name = "铁件订单采购id")
    private String ironRecordId;

    /**
     * 采购单id
     */
    @Excel(name = "采购单id")
    private String buyId;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal money;

    /**
     * 付款金额
     */
    @Excel(name = "付款金额")
    private BigDecimal payMoney;

    /**
     * 付款剩余
     */
    @Excel(name = "付款金额")
    private BigDecimal payRemain;

    private BigDecimal thisPayMoney;

    /**
     * 付款状态
     */
    @Excel(name = "付款状态")
    private String payStatus;


    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 删除标志
     */
    private String delFlag;

    List<OrderIronRecord> orderIronRecordList;

    public BigDecimal getThisPayMoney() {
        return thisPayMoney;
    }

    public void setThisPayMoney(BigDecimal thisPayMoney) {
        this.thisPayMoney = thisPayMoney;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public BigDecimal getPayRemain() {
        return payRemain;
    }

    public void setPayRemain(BigDecimal payRemain) {
        this.payRemain = payRemain;
    }

    public List<OrderIronRecord> getOrderIronRecordList() {
        return orderIronRecordList;
    }

    public void setOrderIronRecordList(List<OrderIronRecord> orderIronRecordList) {
        this.orderIronRecordList = orderIronRecordList;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setIronRecordId(String ironRecordId) {
        this.ironRecordId = ironRecordId;
    }

    public String getIronRecordId() {
        return ironRecordId;
    }

    public void setBuyId(String buyId) {
        this.buyId = buyId;
    }

    public String getBuyId() {
        return buyId;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("orderCode", getOrderCode())
                .append("ironRecordId", getIronRecordId())
                .append("buyId", getBuyId())
                .append("money", getMoney())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
